@bg-color:#b7d4a8;

*{
  padding: 0;
  margin: 0;
  box-sizing:border-box
}
// 设置变量

body{
  font:bold 20px "Courier"
}

#main{
  width: 360px;
  height: 420px;
  background-color: @bg-color;
  margin: 100px auto;
  border: 10px solid black;
  border-radius: 40px;    
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-around;
  #stage{
    position: relative;
    width: 304px;
    height: 304px;
    border: 2px solid black;
    #snack{
      div{
        width: 10px;
        height: 10px;
        border: 1px solid @bg-color;
        background-color: #000;
        position: absolute;
      }
    }

    #foot{
      width: 10px;
      height: 10px;
      position: absolute;
      left: 10px;
      top: 20px;
      display: flex;
      // 设置横轴为主轴，wrap表示会自动换行
      flex-flow: row wrap;
      // 设置主轴和侧轴的空白空间分配到元素之间
      justify-content: space-between;
      align-content: space-between;
      div{
        width: 4px;
        height: 4px;
        background-color: #000;
        transform: rotate(45deg);
      }
    }
  }
  #score-panel{
    width: 300px;
    display: flex;
    justify-content: space-between;
  }
}
